package com.dz.xjd.ui.activity;

import android.widget.Button;
import android.widget.EditText;
import com.dz.xjd.R;
import com.dz.xjd.bean.ProfessionBean;
import com.dz.xjd.ui.base.BaseActivity;
import com.dz.xjd.ui.contract.ProfessionContract;
import com.dz.xjd.ui.model.ProfessionModel;
import com.dz.xjd.ui.presenter.ProfessionPresenter;
import butterknife.BindView;
import butterknife.OnClick;

public class ProfessionInfoActivity extends BaseActivity<ProfessionPresenter, ProfessionModel> implements ProfessionContract.View {

    @BindView(R.id.et_verify_code)
    EditText mEtCode;

    @BindView(R.id.btn_verifycode_next)
    Button mBtnNext;

    private String code = "";


    @Override
    protected int getLayout() {
        return R.layout.activity_profession_info;
    }

    @Override
    protected void init() {}

    @Override
    public void initPresenter() {
        mPresenter.setVM(this, mModel);
    }

    @Override
    public void returnProfessionData(ProfessionBean professionBean) {

    }

    @OnClick(R.id.btn_verifycode_next)
    void onClick() {
        nextSubmit();
    }

    private void nextSubmit() {
        code = mEtCode.getText().toString().trim();
    }

}
